<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('经纪人')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[agentID]', $agentstaffList, $loginUserId, ['class'=>'form-control', 'required'=>''])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('主播账号id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-livestreamerUser" class="form-control" name="row[livestreamerUser]" type="text">
            <input type="hidden" id="nowUser" name="nowUser" value="{$id}" />
            <a id="findUser" class="btn btn-default">查找用户</a>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('主播昵称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control" id="c-nickname" type="text" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('联系电话')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phoneNumber" class="form-control" name="row[phoneNumber]" type="text">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
